package cn.edu.lcu.cs.javaprogramming.oop.animal;


/**
 * 猫类
 *
 * 2022/3/2 22:18
 *
 * @Author ling
 */
public class Cat extends Mammal {

    public Cat() {
        setSpeciesName("猫");
    }

    @Override
    public void reproduce() {
        System.out.println("猫是胎生的。");
    }

    public void walk() {
        System.out.println("猫当然走猫步");
    }

    public void run() {
        System.out.println("猫跑得飞快");
    }

    public void climbTree() {
        System.out.println("猫爬树666");
    }

    @Override
    public void eat() {
        System.out.println("猫喜欢吃鱼");
    }

}
